package com.itheima.service;

import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {
    public Member findByTelephone(String telephone);

    public void add(Member member);

    public List<Integer> findMemberCountByMonths(List<String> months);

    public Map<String, Object> findMemberSexAndCount();

    public Map<String, Object> findMemberAgeAndCount();

    public Integer findMemberCountByMonth(String startTime, String endTime);
}
